import { ColorTransform } from "../geom/ColorTransform";

export enum BlendMode {
    Normal = 0,
    Add = 1,
    Alpha = 2,
    Darken = 3,
    Difference = 4,
    Erase = 5,
    HardLight = 6,
    Invert = 7,
    Layer = 8,
    Lighten = 9,
    Multiply = 10,
    Overlay = 11,
    Screen = 12,
    Subtract = 13
}

export class Slot {
    blendMode: BlendMode | string = BlendMode[BlendMode.Normal].toLowerCase();
    displayIndex: number = 0;
    zIndex: number = 0;
    alpha: number = 1.0;
    name: string = "";
    parent: string = "";
    color: ColorTransform = new ColorTransform();
}